﻿' ******************************************************************************
' ** 
' **  Yahoo Finance Managed
' **  Written by Marius Häusler 2010
' **  It would be pleasant, if you contact me when you are using this code.
' **  Contact: YahooFinanceManaged@gmail.com
' **  Project Home: http://code.google.com/p/yahoo-finance-managed/
' **  
' ******************************************************************************
' **  
' **  Copyright 2010 Marius Häusler
' **  
' **  Licensed under the Apache License, Version 2.0 (the "License");
' **  you may not use this file except in compliance with the License.
' **  You may obtain a copy of the License at
' **  
' **    http://www.apache.org/licenses/LICENSE-2.0
' **  
' **  Unless required by applicable law or agreed to in writing, software
' **  distributed under the License is distributed on an "AS IS" BASIS,
' **  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
' **  See the License for the specific language governing permissions and
' **  limitations under the License.
' ** 
' ******************************************************************************


Namespace Finance
   
    ''' <summary>
    ''' Provides the available sizes for chart images.
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum ChartImageSize
        ''' <summary>
        ''' Large images have a size of 800 x 355 px.
        ''' </summary>
        ''' <remarks></remarks>
        Large = 0
        ''' <summary>
        ''' Middle images have a size of 512 x 288 px.
        ''' </summary>
        ''' <remarks></remarks>
        Middle = 1
        ''' <summary>
        ''' Small images have a size of 192 x 96 px.
        ''' </summary>
        ''' <remarks></remarks>
        Small = 2
    End Enum

    ''' <summary>
    ''' Provides the available scales for chart images.
    ''' </summary>
    ''' <remarks>
    ''' Arithmetic: If the scale provides values from 0 to 100: Value 25 is at 1/4 of 'world'/visible values; 50 is at 1/2; 75 is at 3/4. ///\\\ Logarithmic: If the scale provides values from 0 to 100: Value 10 is at 50/100 of 'world'/visible values; 25 is at 69/100; 50 is at 85/100. The sense of this scale is to relate the absolute changings of a chart. If a stock has a price of $10 and jumps to $20. It's a rise of $10 or 100%. If a stock price is $100 and is increasing of $10 the rise is just 10%.
    ''' </remarks>
    Public Enum ChartScale
        ''' <summary>
        ''' Arithmetic scale has the same proportion in y-axis to the based values.
        ''' </summary>
        ''' <remarks></remarks>
        Arithmetic = 0
        ''' <summary>
        ''' Logarithmic scale has for same value differences shorter going differences in y-axis lines (based on logarithmic calculation). 
        ''' </summary>
        ''' <remarks></remarks>
        Logarithmic = 1
    End Enum

    ''' <summary>
    ''' Provides the time spans for showed data base.
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum ChartTimeSpan
        ''' <summary>
        ''' 1 Day
        ''' </summary>
        ''' <remarks></remarks>
        c1D = 0
        ''' <summary>
        ''' 5 Days
        ''' </summary>
        ''' <remarks></remarks>
        c5D = 1
        ''' <summary>
        ''' 3 Months
        ''' </summary>
        ''' <remarks></remarks>
        c3M = 2
        ''' <summary>
        ''' 6 Months
        ''' </summary>
        ''' <remarks></remarks>
        c6M = 3
        ''' <summary>
        ''' 1 Year
        ''' </summary>
        ''' <remarks></remarks>
        c1Y = 4
        ''' <summary>
        ''' 2 Years
        ''' </summary>
        ''' <remarks></remarks>
        c2Y = 5
        ''' <summary>
        ''' 5 Years
        ''' </summary>
        ''' <remarks></remarks>
        c5Y = 6
        ''' <summary>
        ''' Maximum
        ''' </summary>
        ''' <remarks></remarks>
        cMax = 7
    End Enum

    ''' <summary>
    ''' Provides the chart type of the chart image.
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum ChartType
        ''' <summary>
        ''' Line
        ''' </summary>
        ''' <remarks></remarks>
        Line = 0
        ''' <summary>
        ''' Bar
        ''' </summary>
        ''' <remarks></remarks>
        Bar = 1
        ''' <summary>
        ''' Candle
        ''' </summary>
        ''' <remarks></remarks>
        Candle = 2
    End Enum

    ''' <summary>
    ''' Provides the Yahoo! supported currencies.
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum Currency
        ''' <summary>
        ''' UAE Dirham
        ''' </summary>
        ''' <remarks></remarks>
        AED = 0

        ''' <summary>
        ''' Albanian Lek
        ''' </summary>
        ''' <remarks></remarks>
        ALL = 1

        ''' <summary>
        ''' Neth Antilles Guilder
        ''' </summary>
        ''' <remarks></remarks>
        ANG = 2

        ''' <summary>
        ''' Argentine Peso
        ''' </summary>
        ''' <remarks></remarks>
        ARS = 3

        ''' <summary>
        ''' Australian Dollar
        ''' </summary>
        ''' <remarks></remarks>
        AUD = 4

        ''' <summary>
        ''' Aruba Florin
        ''' </summary>
        ''' <remarks></remarks>
        AWG = 5

        ''' <summary>
        ''' Barbados Dollar
        ''' </summary>
        ''' <remarks></remarks>
        BBD = 6

        ''' <summary>
        ''' Bangladesh Taka
        ''' </summary>
        ''' <remarks></remarks>
        BDT = 7

        ''' <summary>
        ''' Bulgarian Lev
        ''' </summary>
        ''' <remarks></remarks>
        BGN = 8

        ''' <summary>
        ''' Bahreini Dinar
        ''' </summary>
        ''' <remarks></remarks>
        BHD = 9

        ''' <summary>
        ''' Burundi Franc
        ''' </summary>
        ''' <remarks></remarks>
        BIF = 10

        ''' <summary>
        ''' Bermuda Dollar
        ''' </summary>
        ''' <remarks></remarks>
        BMD = 11

        ''' <summary>
        ''' Brunei Dollar
        ''' </summary>
        ''' <remarks></remarks>
        BND = 12

        ''' <summary>
        ''' Bolivian Boliviano
        ''' </summary>
        ''' <remarks></remarks>
        BOB = 13

        ''' <summary>
        ''' Brazilian Real
        ''' </summary>
        ''' <remarks></remarks>
        BRL = 14

        ''' <summary>
        ''' Bahamian Dollar
        ''' </summary>
        ''' <remarks></remarks>
        BSD = 15

        ''' <summary>
        ''' Bhutan Ngultrum
        ''' </summary>
        ''' <remarks></remarks>
        BTN = 16

        ''' <summary>
        ''' Botswana Pula
        ''' </summary>
        ''' <remarks></remarks>
        BWP = 17

        ''' <summary>
        ''' Belarus Rouble
        ''' </summary>
        ''' <remarks></remarks>
        BYR = 18

        ''' <summary>
        ''' Belize Dollar
        ''' </summary>
        ''' <remarks></remarks>
        BZD = 19

        ''' <summary>
        ''' Canadian Dollar
        ''' </summary>
        ''' <remarks></remarks>
        CAD = 20

        ''' <summary>
        ''' Swiss Franc
        ''' </summary>
        ''' <remarks></remarks>
        CHF = 21

        ''' <summary>
        ''' Chilean Peso
        ''' </summary>
        ''' <remarks></remarks>
        CLP = 22

        ''' <summary>
        ''' Chinese Yuan
        ''' </summary>
        ''' <remarks></remarks>
        CNY = 23

        ''' <summary>
        ''' Colombian Peso
        ''' </summary>
        ''' <remarks></remarks>
        COP = 24

        ''' <summary>
        ''' Costa Rica Colon
        ''' </summary>
        ''' <remarks></remarks>
        CRC = 25

        ''' <summary>
        ''' Cuban Peso
        ''' </summary>
        ''' <remarks></remarks>
        CUP = 26

        ''' <summary>
        ''' Czech Koruna
        ''' </summary>
        ''' <remarks></remarks>
        CZK = 27

        ''' <summary>
        ''' Dijibouti Franc
        ''' </summary>
        ''' <remarks></remarks>
        DJF = 28

        ''' <summary>
        ''' Danish Krone
        ''' </summary>
        ''' <remarks></remarks>
        DKK = 29

        ''' <summary>
        ''' Dominican Peso
        ''' </summary>
        ''' <remarks></remarks>
        DOP = 30

        ''' <summary>
        ''' Algerian Dinar
        ''' </summary>
        ''' <remarks></remarks>
        DZD = 31

        ''' <summary>
        ''' Equador Sucre
        ''' </summary>
        ''' <remarks></remarks>
        ECS = 32

        ''' <summary>
        ''' Estonian Kroon
        ''' </summary>
        ''' <remarks></remarks>
        EEK = 33

        ''' <summary>
        ''' Egyptian Pound
        ''' </summary>
        ''' <remarks></remarks>
        EGP = 34

        ''' <summary>
        ''' Eritrea Nakfa
        ''' </summary>
        ''' <remarks></remarks>
        ERN = 35

        ''' <summary>
        ''' Ethopian Birr
        ''' </summary>
        ''' <remarks></remarks>
        ETB = 36

        ''' <summary>
        ''' Euro
        ''' </summary>
        ''' <remarks></remarks>
        EUR = 37

        ''' <summary>
        ''' Fiji Dollar
        ''' </summary>
        ''' <remarks></remarks>
        FJD = 38

        ''' <summary>
        ''' Falkland Island Pound
        ''' </summary>
        ''' <remarks></remarks>
        FKP = 39

        ''' <summary>
        ''' British Pound
        ''' </summary>
        ''' <remarks></remarks>
        GBP = 40

        ''' <summary>
        ''' Ghanian Cedi
        ''' </summary>
        ''' <remarks></remarks>
        GHC = 41

        ''' <summary>
        ''' Gibraltar Pound
        ''' </summary>
        ''' <remarks></remarks>
        GIP = 42

        ''' <summary>
        ''' Gambian Dalasi
        ''' </summary>
        ''' <remarks></remarks>
        GMD = 43

        ''' <summary>
        ''' Guinea Franc
        ''' </summary>
        ''' <remarks></remarks>
        GNF = 44

        ''' <summary>
        ''' Guatemala Quetzal
        ''' </summary>
        ''' <remarks></remarks>
        GTQ = 45

        ''' <summary>
        ''' Guyana Dollar
        ''' </summary>
        ''' <remarks></remarks>
        GYD = 46

        ''' <summary>
        ''' Hong Kong Dollar
        ''' </summary>
        ''' <remarks></remarks>
        HKD = 47

        ''' <summary>
        ''' Honduras Lempira
        ''' </summary>
        ''' <remarks></remarks>
        HNL = 48

        ''' <summary>
        ''' Croatian Kuna
        ''' </summary>
        ''' <remarks></remarks>
        HRK = 49

        ''' <summary>
        ''' Haiti Gourde
        ''' </summary>
        ''' <remarks></remarks>
        HTG = 50

        ''' <summary>
        ''' Hungarian Forint
        ''' </summary>
        ''' <remarks></remarks>
        HUF = 51

        ''' <summary>
        ''' Indonesian Rpiah
        ''' </summary>
        ''' <remarks></remarks>
        IDR = 52

        ''' <summary>
        ''' Israeli Shekel
        ''' </summary>
        ''' <remarks></remarks>
        ILS = 53

        ''' <summary>
        ''' Indian Rupee
        ''' </summary>
        ''' <remarks></remarks>
        INR = 54

        ''' <summary>
        ''' Iraqui Dinar
        ''' </summary>
        ''' <remarks></remarks>
        IQD = 55

        ''' <summary>
        ''' Iran Rial
        ''' </summary>
        ''' <remarks></remarks>
        IRR = 56

        ''' <summary>
        ''' Iceland Krona
        ''' </summary>
        ''' <remarks></remarks>
        ISK = 57

        ''' <summary>
        ''' Jamaican Dollar
        ''' </summary>
        ''' <remarks></remarks>
        JMD = 58

        ''' <summary>
        ''' Jordania Dinar
        ''' </summary>
        ''' <remarks></remarks>
        JOD = 59

        ''' <summary>
        ''' Japanese Yen
        ''' </summary>
        ''' <remarks></remarks>
        JPY = 60

        ''' <summary>
        ''' Kenyan Shilling
        ''' </summary>
        ''' <remarks></remarks>
        KES = 61

        ''' <summary>
        ''' Cambodia Riel
        ''' </summary>
        ''' <remarks></remarks>
        KHR = 62

        ''' <summary>
        ''' Comoros Franc
        ''' </summary>
        ''' <remarks></remarks>
        KMF = 63

        ''' <summary>
        ''' Korean Won
        ''' </summary>
        ''' <remarks></remarks>
        KRW = 64

        ''' <summary>
        ''' Kuwaiti Dinar
        ''' </summary>
        ''' <remarks></remarks>
        KWD = 65

        ''' <summary>
        ''' Cayman Islands Dollar
        ''' </summary>
        ''' <remarks></remarks>
        KYD = 66

        ''' <summary>
        ''' Kazakhstan Tenge
        ''' </summary>
        ''' <remarks></remarks>
        KZT = 67

        ''' <summary>
        ''' Lao Kip
        ''' </summary>
        ''' <remarks></remarks>
        LAK = 68

        ''' <summary>
        ''' Lebanese Pound
        ''' </summary>
        ''' <remarks></remarks>
        LBP = 69

        ''' <summary>
        ''' Sri Lanka Rupee
        ''' </summary>
        ''' <remarks></remarks>
        LKR = 70

        ''' <summary>
        ''' Liberian Dollar
        ''' </summary>
        ''' <remarks></remarks>
        LRD = 71

        ''' <summary>
        ''' Lesoto Loti
        ''' </summary>
        ''' <remarks></remarks>
        LSL = 72

        ''' <summary>
        ''' Lithuanian Lita
        ''' </summary>
        ''' <remarks></remarks>
        LTL = 73

        ''' <summary>
        ''' Latvian Lat
        ''' </summary>
        ''' <remarks></remarks>
        LVL = 74

        ''' <summary>
        ''' Libyan Dinar
        ''' </summary>
        ''' <remarks></remarks>
        LYD = 75

        ''' <summary>
        ''' Moroccan Dirham
        ''' </summary>
        ''' <remarks></remarks>
        MAD = 76

        ''' <summary>
        ''' Moldovan Leu
        ''' </summary>
        ''' <remarks></remarks>
        MDL = 77

        ''' <summary>
        ''' Macedonian Denar
        ''' </summary>
        ''' <remarks></remarks>
        MKD = 78

        ''' <summary>
        ''' Myanmar Kyat
        ''' </summary>
        ''' <remarks></remarks>
        MMK = 79

        ''' <summary>
        ''' Mongolian Tukrik
        ''' </summary>
        ''' <remarks></remarks>
        MNT = 80

        ''' <summary>
        ''' Macau Pataca
        ''' </summary>
        ''' <remarks></remarks>
        MOP = 81

        ''' <summary>
        ''' Mauritania Ougulya
        ''' </summary>
        ''' <remarks></remarks>
        MRO = 82

        ''' <summary>
        ''' Maltese Lira
        ''' </summary>
        ''' <remarks></remarks>
        MTL = 83

        ''' <summary>
        ''' Mauritius Rupee
        ''' </summary>
        ''' <remarks></remarks>
        MUR = 84

        ''' <summary>
        ''' Maledives Rufiyaa
        ''' </summary>
        ''' <remarks></remarks>
        MVR = 85

        ''' <summary>
        ''' Malawi Kwacha
        ''' </summary>
        ''' <remarks></remarks>
        MWK = 86

        ''' <summary>
        ''' Mexican Peso
        ''' </summary>
        ''' <remarks></remarks>
        MXN = 87

        ''' <summary>
        ''' Malaysian Ringgit
        ''' </summary>
        ''' <remarks></remarks>
        MYR = 88

        ''' <summary>
        ''' Namibian Dollar
        ''' </summary>
        ''' <remarks></remarks>
        NAD = 89

        ''' <summary>
        ''' Nigerian Naira
        ''' </summary>
        ''' <remarks></remarks>
        NGN = 90

        ''' <summary>
        ''' Nicaragua Cordoba
        ''' </summary>
        ''' <remarks></remarks>
        NIO = 91

        ''' <summary>
        ''' Norwegian Krone
        ''' </summary>
        ''' <remarks></remarks>
        NOK = 92

        ''' <summary>
        ''' Nepalese Rupee
        ''' </summary>
        ''' <remarks></remarks>
        NPR = 93

        ''' <summary>
        ''' North Korean Won
        ''' </summary>
        ''' <remarks></remarks>
        NPW = 94

        ''' <summary>
        ''' New Zealand Dollar
        ''' </summary>
        ''' <remarks></remarks>
        NZD = 95

        ''' <summary>
        ''' Omani Rial
        ''' </summary>
        ''' <remarks></remarks>
        OMR = 96

        ''' <summary>
        ''' Panama Balboa
        ''' </summary>
        ''' <remarks></remarks>
        PAB = 97

        ''' <summary>
        ''' Peruvian Nuevo Sol
        ''' </summary>
        ''' <remarks></remarks>
        PEN = 98

        ''' <summary>
        ''' Papua New Guinea Kina
        ''' </summary>
        ''' <remarks></remarks>
        PGK = 99

        ''' <summary>
        ''' Philipine Peso
        ''' </summary>
        ''' <remarks></remarks>
        PHP = 100

        ''' <summary>
        ''' Pakistani Rupee
        ''' </summary>
        ''' <remarks></remarks>
        PKR = 101

        ''' <summary>
        ''' Polish Zloty
        ''' </summary>
        ''' <remarks></remarks>
        PLN = 102

        ''' <summary>
        ''' Paraquayan Guarani
        ''' </summary>
        ''' <remarks></remarks>
        PYG = 103

        ''' <summary>
        ''' Qatar Rial
        ''' </summary>
        ''' <remarks></remarks>
        QAR = 104

        ''' <summary>
        ''' Romanian New Leu
        ''' </summary>
        ''' <remarks></remarks>
        RON = 105

        ''' <summary>
        ''' Russian Roubel
        ''' </summary>
        ''' <remarks></remarks>
        RUB = 106

        ''' <summary>
        ''' Rwanda Franc
        ''' </summary>
        ''' <remarks></remarks>
        RWF = 107

        ''' <summary>
        ''' Saudi Arabian Riyal
        ''' </summary>
        ''' <remarks></remarks>
        SAR = 108

        ''' <summary>
        ''' Solomon Islands Dollar
        ''' </summary>
        ''' <remarks></remarks>
        SBD = 109

        ''' <summary>
        ''' Seychelles Rupee
        ''' </summary>
        ''' <remarks></remarks>
        SCR = 110

        ''' <summary>
        ''' Sudanese Pound
        ''' </summary>
        ''' <remarks></remarks>
        SDG = 111

        ''' <summary>
        ''' Swedish Krona
        ''' </summary>
        ''' <remarks></remarks>
        SEK = 112

        ''' <summary>
        ''' Singapore Dollar
        ''' </summary>
        ''' <remarks></remarks>
        SGD = 113

        ''' <summary>
        ''' St Helena Pound
        ''' </summary>
        ''' <remarks></remarks>
        SHP = 114

        ''' <summary>
        ''' Slovenian Tolar
        ''' </summary>
        ''' <remarks></remarks>
        SIT = 115

        ''' <summary>
        ''' Slovak Koruna
        ''' </summary>
        ''' <remarks></remarks>
        SKK = 116

        ''' <summary>
        ''' Sierra Leone Leone
        ''' </summary>
        ''' <remarks></remarks>
        SLL = 117

        ''' <summary>
        ''' Somali Shilling
        ''' </summary>
        ''' <remarks></remarks>
        SOS = 118

        ''' <summary>
        ''' Sao Tome Dobra
        ''' </summary>
        ''' <remarks></remarks>
        STD = 119

        ''' <summary>
        ''' El Salvador Colon
        ''' </summary>
        ''' <remarks></remarks>
        SVC = 120

        ''' <summary>
        ''' Syrian Pound
        ''' </summary>
        ''' <remarks></remarks>
        SYP = 121

        ''' <summary>
        ''' Swaziland Lilageni
        ''' </summary>
        ''' <remarks></remarks>
        SZL = 122

        ''' <summary>
        ''' Thai Baht
        ''' </summary>
        ''' <remarks></remarks>
        THB = 123

        ''' <summary>
        ''' Tunisian Dinar
        ''' </summary>
        ''' <remarks></remarks>
        TND = 124

        ''' <summary>
        ''' Tonga Pa'ang
        ''' </summary>
        ''' <remarks></remarks>
        TOP = 125

        ''' <summary>
        ''' Turkish Lira
        ''' </summary>
        ''' <remarks></remarks>
        [TRY] = 126

        ''' <summary>
        ''' Trinidad &amp; Tobago Dollar
        ''' </summary>
        ''' <remarks></remarks>
        TTD = 127

        ''' <summary>
        ''' Taiwan Dollar
        ''' </summary>
        ''' <remarks></remarks>
        TWD = 128

        ''' <summary>
        ''' Tanzanian Shilling
        ''' </summary>
        ''' <remarks></remarks>
        TZS = 129

        ''' <summary>
        ''' Ukraine Hryvnia
        ''' </summary>
        ''' <remarks></remarks>
        UAH = 130

        ''' <summary>
        ''' Ugandan Shilling
        ''' </summary>
        ''' <remarks></remarks>
        UGX = 131

        ''' <summary>
        ''' U.S. Dollar
        ''' </summary>
        ''' <remarks></remarks>
        USD = 132

        ''' <summary>
        ''' Uruguayan New Peso
        ''' </summary>
        ''' <remarks></remarks>
        UYU = 133

        ''' <summary>
        ''' Venezuelan Bolivar
        ''' </summary>
        ''' <remarks></remarks>
        VEB = 134

        ''' <summary>
        ''' Vietnam Dong
        ''' </summary>
        ''' <remarks></remarks>
        VND = 135

        ''' <summary>
        ''' Vanuatu Vatu
        ''' </summary>
        ''' <remarks></remarks>
        VUV = 136

        ''' <summary>
        ''' Samoa Tala
        ''' </summary>
        ''' <remarks></remarks>
        WST = 137

        ''' <summary>
        ''' CFA Franc (BEAC)
        ''' </summary>
        ''' <remarks></remarks>
        XAF = 138

        ''' <summary>
        ''' Silver Ounces
        ''' </summary>
        ''' <remarks></remarks>
        XAG = 139

        ''' <summary>
        ''' Aluminium Ounces
        ''' </summary>
        ''' <remarks></remarks>
        XAL = 140

        ''' <summary>
        ''' Gold Ounces
        ''' </summary>
        ''' <remarks></remarks>
        XAU = 141

        ''' <summary>
        ''' East Caribbean Dollar
        ''' </summary>
        ''' <remarks></remarks>
        XCD = 142

        ''' <summary>
        ''' CFA Franc (BCEAO)
        ''' </summary>
        ''' <remarks></remarks>
        XOF = 143

        ''' <summary>
        ''' Paladium Ounces
        ''' </summary>
        ''' <remarks></remarks>
        XPD = 144

        ''' <summary>
        ''' Pacific Franc
        ''' </summary>
        ''' <remarks></remarks>
        XPF = 145

        ''' <summary>
        ''' Platinum Ounces
        ''' </summary>
        ''' <remarks></remarks>
        XPT = 146

        ''' <summary>
        ''' Yemen Riyal
        ''' </summary>
        ''' <remarks></remarks>
        YER = 147

        ''' <summary>
        ''' South African Rand
        ''' </summary>
        ''' <remarks></remarks>
        ZAR = 148

        ''' <summary>
        ''' Zambian Kwacha
        ''' </summary>
        ''' <remarks></remarks>
        ZMK = 149

        ''' <summary>
        ''' Zimbabwe Dollar
        ''' </summary>
        ''' <remarks></remarks>
        ZWD = 150


    End Enum

    ''' <summary>
    ''' Provides the financial type of the security in general like "Stock" or "Index".
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum FinancialSecurityType
        ''' <summary>
        ''' All
        ''' </summary>
        ''' <remarks></remarks>
        Any = 0
        ''' <summary>
        ''' American Depositary Receipts
        ''' </summary>
        ''' <remarks></remarks>
        ADR = 1
        ''' <summary>
        ''' Bond
        ''' </summary>
        ''' <remarks></remarks>
        Bond = 2
        ''' <summary>
        ''' Exchange Traded Fund
        ''' </summary>
        ''' <remarks></remarks>
        ETF = 3
        ''' <summary>
        ''' Fund
        ''' </summary>
        ''' <remarks></remarks>
        Fund = 4
        ''' <summary>
        ''' Future
        ''' </summary>
        ''' <remarks></remarks>
        Future = 5
        ''' <summary>
        ''' Index
        ''' </summary>
        ''' <remarks></remarks>
        Index = 6
        ''' <summary>
        ''' Option
        ''' </summary>
        ''' <remarks></remarks>
        OptionType = 7
        ''' <summary>
        ''' Stock
        ''' </summary>
        ''' <remarks></remarks>
        Stock = 8
    End Enum

    ''' <summary>
    ''' Provides the markets for limitation at ID search.
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum FinancialMarket
        ''' <summary>
        ''' All Markets of available countries and stock exchanges.
        ''' </summary>
        ''' <remarks></remarks>
        AllMarkets = 0
        ''' <summary>
        ''' Only US and Canadian markets.
        ''' </summary>
        ''' <remarks></remarks>
        UsAndCanada = 1
    End Enum

    ''' <summary>
    ''' Provides the available sortable properties at ID search.
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum FinancialProperty
        ''' <summary>
        ''' Category
        ''' </summary>
        ''' <remarks></remarks>
        Category = 0
        ''' <summary>
        ''' Exchange
        ''' </summary>
        ''' <remarks></remarks>
        Exchange = 1
        ''' <summary>
        ''' ID
        ''' </summary>
        ''' <remarks></remarks>
        ID = 2
        ''' <summary>
        ''' Name
        ''' </summary>
        ''' <remarks></remarks>
        Name = 3
    End Enum

    ''' <summary>
    ''' Provides the available intervals between received HistQuoteData items.
    ''' </summary>
    ''' <remarks>Daily Historical Quotes provide you with the daily open, high, low, close, and volume for each trading day in the chosen date range. Weekly Historical Quotes retrieve the open trade from the first trading day for the week, the high and low price quotes of the week, and the closing price on the last trading day of the week. The weekly volume is the average daily volume for all trading days in the reported week. Monthly Historical Quotes report the open trade from the first trading day of the month, the high and low price quotes for the month, and the closing price on the last trading day of the month. The monthly volume is the average daily volume for all trading days in the reported month.</remarks>
    Public Enum HistQuotesInterval
        ''' <summary>
        ''' Daily
        ''' </summary>
        ''' <remarks></remarks>
        Daily = 0
        ''' <summary>
        ''' Weekly
        ''' </summary>
        ''' <remarks></remarks>
        Weekly = 1
        ''' <summary>
        ''' Monthly
        ''' </summary>
        ''' <remarks></remarks>
        Monthly = 2
    End Enum

    ''' <summary>
    ''' Provides server locations for API ID search.
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum IDSearchServer
        ''' <summary>
        ''' Default US Server
        ''' </summary>
        ''' <remarks></remarks>
        DefaultUS = 0
        ''' <summary>
        ''' US Server (english)
        ''' </summary>
        ''' <remarks></remarks>
        EnglishUS = 1
        ''' <summary>
        ''' US Server (spanish)
        ''' </summary>
        ''' <remarks></remarks>
        SpanishUS = 2
    End Enum

    ''' <summary>
    ''' Provides every available property of market quote data.
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum MarketQuoteProperty
        ''' <summary>
        ''' Dividend Yield Percent
        ''' </summary>
        ''' <remarks></remarks>
        DividendYieldPercent = 0
        ''' <summary>
        ''' Long Term Dept To Equity
        ''' </summary>
        ''' <remarks></remarks>
        LongTermDeptToEquity = 1
        ''' <summary>
        ''' Market Capitalization In Million
        ''' </summary>
        ''' <remarks></remarks>
        MarketCapitalizationInMillion = 2
        ''' <summary>
        ''' Name
        ''' </summary>
        ''' <remarks></remarks>
        Name = 3
        ''' <summary>
        ''' Net Profit Margin in Percent
        ''' </summary>
        ''' <remarks></remarks>
        NetProfitMarginPercent = 4
        ''' <summary>
        ''' One Day Price Change Percent
        ''' </summary>
        ''' <remarks></remarks>
        OneDayPriceChangePercent = 5
        ''' <summary>
        ''' Price Earnings Ratio
        ''' </summary>
        ''' <remarks></remarks>
        PriceEarningsRatio = 6
        ''' <summary>
        ''' Price To Book Value
        ''' </summary>
        ''' <remarks></remarks>
        PriceToBookValue = 7
        ''' <summary>
        ''' Price To Free Cash Flow
        ''' </summary>
        ''' <remarks></remarks>
        PriceToFreeCashFlow = 8
        ''' <summary>
        ''' Return On Equity Percent
        ''' </summary>
        ''' <remarks></remarks>
        ReturnOnEquityPercent = 9
    End Enum

    ''' <summary>
    ''' The time span for the value base of a calculated moving average. A bigger time span results in a more straightened line with less reaction to short term changings.
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum MovingAverageInterval
        ''' <summary>
        ''' 5
        ''' </summary>
        ''' <remarks></remarks>
        m5 = 0
        ''' <summary>
        ''' 10
        ''' </summary>
        ''' <remarks></remarks>
        m10 = 1
        ''' <summary>
        ''' 20
        ''' </summary>
        ''' <remarks></remarks>
        m20 = 2
        ''' <summary>
        ''' 50
        ''' </summary>
        ''' <remarks></remarks>
        m50 = 3
        ''' <summary>
        ''' 100
        ''' </summary>
        ''' <remarks></remarks>
        m100 = 4
        ''' <summary>
        ''' 200
        ''' </summary>
        ''' <remarks></remarks>
        m200 = 5
    End Enum

    ''' <summary>
    ''' Provides the two financial option type 'Call' and 'Put'.
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum QuoteOptionType
        ''' <summary>
        ''' Call
        ''' </summary>
        ''' <remarks></remarks>
        CallIndicator
        ''' <summary>
        ''' Put
        ''' </summary>
        ''' <remarks></remarks>
        PutIndicator
    End Enum

    ''' <summary>
    ''' Provides every available property of quote data.
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum QuoteProperty
        ''' <summary>
        ''' AfterHoursChangeRealtime
        ''' </summary>
        ''' <remarks></remarks>
        AfterHoursChangeRealtime = 0

        ''' <summary>
        ''' Annualized Gain
        ''' </summary>
        ''' <remarks></remarks>
        AnnualizedGain = 1

        ''' <summary>
        ''' Ask Size
        ''' </summary>
        ''' <remarks></remarks>
        Ask = 2

        ''' <summary>
        ''' Ask (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        AskRealtime = 3

        ''' <summary>
        ''' Ask Size
        ''' </summary>
        ''' <remarks></remarks>
        AskSize = 4

        ''' <summary>
        ''' Average Daily Volume
        ''' </summary>
        ''' <remarks></remarks>
        AverageDailyVolume = 5

        ''' <summary>
        ''' Bid Size
        ''' </summary>
        ''' <remarks></remarks>
        Bid = 6

        ''' <summary>
        ''' Bid (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        BidRealtime = 7

        ''' <summary>
        ''' Bid Size
        ''' </summary>
        ''' <remarks></remarks>
        BidSize = 8

        ''' <summary>
        ''' Book Value
        ''' </summary>
        ''' <remarks></remarks>
        BookValue = 9

        ''' <summary>
        ''' Change
        ''' </summary>
        ''' <remarks></remarks>
        Change = 10

        ''' <summary>
        ''' Change Percent
        ''' </summary>
        ''' <remarks></remarks>
        Change_PercentChange = 11

        ''' <summary>
        ''' Change From 50 Days Moving Average
        ''' </summary>
        ''' <remarks></remarks>
        ChangeFromFiftydayMovingAverage = 12

        ''' <summary>
        ''' Change From 200 Days Moving Average
        ''' </summary>
        ''' <remarks></remarks>
        ChangeFromTwoHundreddayMovingAverage = 13

        ''' <summary>
        ''' Change From 1 Year High
        ''' </summary>
        ''' <remarks></remarks>
        ChangeFromYearHigh = 14

        ''' <summary>
        ''' Change From 1 Year Low
        ''' </summary>
        ''' <remarks></remarks>
        ChangeFromYearLow = 15

        ''' <summary>
        ''' Change In Percent
        ''' </summary>
        ''' <remarks></remarks>
        ChangeinPercent = 16

        ''' <summary>
        ''' Change Percent (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        ChangePercentRealtime = 17

        ''' <summary>
        ''' Days Value Change (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        ChangeRealtime = 18

        ''' <summary>
        ''' Commission
        ''' </summary>
        ''' <remarks></remarks>
        Commission = 19

        ''' <summary>
        ''' Days High
        ''' </summary>
        ''' <remarks></remarks>
        DaysHigh = 20

        ''' <summary>
        ''' Days Low
        ''' </summary>
        ''' <remarks></remarks>
        DaysLow = 21

        ''' <summary>
        ''' Days Range (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        DaysRange = 22

        ''' <summary>
        ''' Days Range (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        DaysRangeRealtime = 23

        ''' <summary>
        ''' Days Value Change (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        DaysValueChange = 24

        ''' <summary>
        ''' Days Value Change (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        DaysValueChangeRealtime = 25

        ''' <summary>
        ''' Dividend Pay Date
        ''' </summary>
        ''' <remarks></remarks>
        DividendPayDate = 26

        ''' <summary>
        ''' Dividend Share
        ''' </summary>
        ''' <remarks></remarks>
        DividendShare = 27

        ''' <summary>
        ''' Dividend Yield
        ''' </summary>
        ''' <remarks></remarks>
        DividendYield = 28

        ''' <summary>
        ''' Earnings Share
        ''' </summary>
        ''' <remarks></remarks>
        EarningsShare = 29

        ''' <summary>
        ''' EBITDA
        ''' </summary>
        ''' <remarks></remarks>
        EBITDA = 30

        ''' <summary>
        ''' Price EPS Estimate Current Year
        ''' </summary>
        ''' <remarks></remarks>
        EPSEstimateCurrentYear = 31

        ''' <summary>
        ''' EPS Estimate Next Quarter
        ''' </summary>
        ''' <remarks></remarks>
        EPSEstimateNextQuarter = 32

        ''' <summary>
        ''' Price EPS Estimate Next Year
        ''' </summary>
        ''' <remarks></remarks>
        EPSEstimateNextYear = 33

        ''' <summary>
        ''' Error for symbol
        ''' </summary>
        ''' <remarks></remarks>
        ErrorIndicationreturnedforsymbolchangedinvalid = 34

        ''' <summary>
        ''' Ex Dividend Date
        ''' </summary>
        ''' <remarks></remarks>
        ExDividendDate = 35

        ''' <summary>
        ''' 50 Days Moving Average
        ''' </summary>
        ''' <remarks></remarks>
        FiftydayMovingAverage = 36

        ''' <summary>
        ''' Float Shares
        ''' </summary>
        ''' <remarks></remarks>
        FloatShares = 37

        ''' <summary>
        ''' High Limit
        ''' </summary>
        ''' <remarks></remarks>
        HighLimit = 38

        ''' <summary>
        ''' Holdings Gain
        ''' </summary>
        ''' <remarks></remarks>
        HoldingsGain = 39

        ''' <summary>
        ''' Holdings Gain Percent
        ''' </summary>
        ''' <remarks></remarks>
        HoldingsGainPercent = 40

        ''' <summary>
        ''' Holdings Gain Percent (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        HoldingsGainPercentRealtime = 41

        ''' <summary>
        ''' Holdings Gain (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        HoldingsGainRealtime = 42

        ''' <summary>
        ''' Holdings Value (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        HoldingsValue = 43

        ''' <summary>
        ''' Holdings Value (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        HoldingsValueRealtime = 44

        ''' <summary>
        ''' Last Trade Date
        ''' </summary>
        ''' <remarks></remarks>
        LastTradeDate = 45

        ''' <summary>
        ''' Last Trade Price Only
        ''' </summary>
        ''' <remarks></remarks>
        LastTradePriceOnly = 46

        ''' <summary>
        ''' Last Trade With Time (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        LastTradeRealtimeWithTime = 47

        ''' <summary>
        ''' Last Trade Size
        ''' </summary>
        ''' <remarks></remarks>
        LastTradeSize = 48

        ''' <summary>
        ''' Last Trade Time
        ''' </summary>
        ''' <remarks></remarks>
        LastTradeTime = 49

        ''' <summary>
        ''' Last Trade With Time
        ''' </summary>
        ''' <remarks></remarks>
        LastTradeWithTime = 50

        ''' <summary>
        ''' Low Limit
        ''' </summary>
        ''' <remarks></remarks>
        LowLimit = 51

        ''' <summary>
        ''' Market Capitalization
        ''' </summary>
        ''' <remarks></remarks>
        MarketCapitalization = 52

        ''' <summary>
        ''' Market Capitalization (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        MarketCapRealtime = 53

        ''' <summary>
        ''' More Info
        ''' </summary>
        ''' <remarks></remarks>
        MoreInfo = 54

        ''' <summary>
        ''' Name
        ''' </summary>
        ''' <remarks></remarks>
        Name = 55

        ''' <summary>
        ''' Notes
        ''' </summary>
        ''' <remarks></remarks>
        Notes = 56

        ''' <summary>
        ''' 1 Year Target Price
        ''' </summary>
        ''' <remarks></remarks>
        OneyrTargetPrice = 57

        ''' <summary>
        ''' Open
        ''' </summary>
        ''' <remarks></remarks>
        Open = 58

        ''' <summary>
        ''' Order Book (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        OrderBookRealtime = 59

        ''' <summary>
        ''' PEG Ratio
        ''' </summary>
        ''' <remarks></remarks>
        PEGRatio = 60

        ''' <summary>
        ''' PE Ratio (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        PERatio = 61

        ''' <summary>
        ''' PE Ratio (Realtime)
        ''' </summary>
        ''' <remarks></remarks>
        PERatioRealtime = 62

        ''' <summary>
        ''' Percent Change From 1 Year High
        ''' </summary>
        ''' <remarks></remarks>
        PercentChange = 63

        ''' <summary>
        ''' Percent Change From 50 Days Moving Average
        ''' </summary>
        ''' <remarks></remarks>
        PercentChangeFromFiftydayMovingAverage = 64

        ''' <summary>
        ''' Percent Change From 200 Days Moving Average
        ''' </summary>
        ''' <remarks></remarks>
        PercentChangeFromTwoHundreddayMovingAverage = 65

        ''' <summary>
        ''' Percent Change From 1 Year High
        ''' </summary>
        ''' <remarks></remarks>
        PercebtChangeFromYearHigh = 66

        ''' <summary>
        ''' Percent Change From 1 Year Low
        ''' </summary>
        ''' <remarks></remarks>
        PercentChangeFromYearLow = 67

        ''' <summary>
        ''' Previous Close
        ''' </summary>
        ''' <remarks></remarks>
        PreviousClose = 68

        ''' <summary>
        ''' Price Book
        ''' </summary>
        ''' <remarks></remarks>
        PriceBook = 69

        ''' <summary>
        ''' Price EPS Estimate Current Year
        ''' </summary>
        ''' <remarks></remarks>
        PriceEPSEstimateCurrentYear = 70

        ''' <summary>
        ''' Price EPS Estimate Next Year
        ''' </summary>
        ''' <remarks></remarks>
        PriceEPSEstimateNextYear = 71

        ''' <summary>
        ''' Price Paid
        ''' </summary>
        ''' <remarks></remarks>
        PricePaid = 72

        ''' <summary>
        ''' Price Sales
        ''' </summary>
        ''' <remarks></remarks>
        PriceSales = 73

        ''' <summary>
        ''' Shares Owned
        ''' </summary>
        ''' <remarks></remarks>
        SharesOwned = 74

        ''' <summary>
        ''' Short Ratio
        ''' </summary>
        ''' <remarks></remarks>
        ShortRatio = 75

        ''' <summary>
        ''' Stock Exchange
        ''' </summary>
        ''' <remarks></remarks>
        StockExchange = 76

        ''' <summary>
        ''' Symbol
        ''' </summary>
        ''' <remarks></remarks>
        Symbol = 77

        ''' <summary>
        ''' Ticker Trend
        ''' </summary>
        ''' <remarks></remarks>
        TickerTrend = 78

        ''' <summary>
        ''' Trade Date
        ''' </summary>
        ''' <remarks></remarks>
        TradeDate = 79

        ''' <summary>
        ''' Trade Links
        ''' </summary>
        ''' <remarks></remarks>
        TradeLinks = 80

        ''' <summary>
        ''' 200 Days Moving Average
        ''' </summary>
        ''' <remarks></remarks>
        TwoHundreddayMovingAverage = 81

        ''' <summary>
        ''' Volume td
        ''' </summary>
        ''' <remarks></remarks>
        Volume = 82

        ''' <summary>
        ''' 1 Year High
        ''' </summary>
        ''' <remarks></remarks>
        YearHigh = 83

        ''' <summary>
        ''' 1 Year Low
        ''' </summary>
        ''' <remarks></remarks>
        YearLow = 84

        ''' <summary>
        ''' 1 Year Range
        ''' </summary>
        ''' <remarks></remarks>
        YearRange = 85


    End Enum

    ''' <summary>
    ''' Provides the main US economic sectors.
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum Sector
        ''' <summary>
        ''' Basic Materials
        ''' </summary>
        ''' <remarks></remarks>
        Basic_Materials = 0
        ''' <summary>
        ''' Conglomerates
        ''' </summary>
        ''' <remarks></remarks>
        Conglomerates = 1
        ''' <summary>
        ''' Consumer Goods
        ''' </summary>
        ''' <remarks></remarks>
        Consumer_Goods = 2
        ''' <summary>
        ''' Financial
        ''' </summary>
        ''' <remarks></remarks>
        Financial = 3
        ''' <summary>
        ''' Healthcare
        ''' </summary>
        ''' <remarks></remarks>
        Healthcare = 4
        ''' <summary>
        ''' Industrial Goods
        ''' </summary>
        ''' <remarks></remarks>
        Industrial_Goods = 5
        ''' <summary>
        ''' Services
        ''' </summary>
        ''' <remarks></remarks>
        Services = 6
        ''' <summary>
        ''' Technology
        ''' </summary>
        ''' <remarks></remarks>
        Technology = 7
        ''' <summary>
        ''' Utilities
        ''' </summary>
        ''' <remarks></remarks>
        Utilities = 8
    End Enum

    ''' <summary>
    ''' Provides different technical indicators for chart images.
    ''' </summary>
    ''' <remarks></remarks>
    Public Enum TechnicalIndicator
        ''' <summary>
        ''' Stochastic
        ''' </summary>
        ''' <remarks></remarks>
        Fast_Stoch = 0
        ''' <summary>
        ''' Moving-Average-Convergence-Divergence
        ''' </summary>
        ''' <remarks></remarks>
        MACD = 1
        ''' <summary>
        ''' Money Flow Index
        ''' </summary>
        ''' <remarks></remarks>
        MFI = 2
        ''' <summary>
        ''' Rate of Change
        ''' </summary>
        ''' <remarks></remarks>
        ROC = 3
        ''' <summary>
        ''' Relative Strength Index
        ''' </summary>
        ''' <remarks></remarks>
        RSI = 4
        ''' <summary>
        ''' Slow Stochastic
        ''' </summary>
        ''' <remarks></remarks>
        Slow_Stoch = 5
        ''' <summary>
        ''' Volume
        ''' </summary>
        ''' <remarks></remarks>
        Vol = 6
        ''' <summary>
        ''' Volume with Moving Average
        ''' </summary>
        ''' <remarks></remarks>
        Vol_MA = 7
        ''' <summary>
        ''' Williams Percent Range
        ''' </summary>
        ''' <remarks></remarks>
        W_R = 8
        ''' <summary>
        ''' Bollinger Bands
        ''' </summary>
        ''' <remarks></remarks>
        Bollinger_Bands = 9
        ''' <summary>
        ''' Parabolic Stop And Reverse
        ''' </summary>
        ''' <remarks></remarks>
        Parabolic_SAR = 10
        ''' <summary>
        ''' Splits
        ''' </summary>
        ''' <remarks></remarks>
        Splits = 11
        ''' <summary>
        ''' Volume (inside chart)
        ''' </summary>
        ''' <remarks></remarks>
        Volume = 12
    End Enum

End Namespace
